package com.qk.mangement.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;
import com.qk.entity.CourseQueryListByPageDto;

import java.util.List;

/**
 * Date:2025/10/13
 * Author:zxc
 * Description
 */
public interface CourseService {
    PageResult<Course> queryListByPage(CourseQueryListByPageDto courseQueryListByPageDto);


    void deleteById(Integer id);


    void addCourse(Course course);


    Course queryById(Integer id);


    void updateById(Course course);


    List<Course> queryAll();


    List<Course> queryBySubject(Integer subject);
}
